package xyz.xtt.exchange.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 
 * </p>
 *
 * @author dale
 * @since 2025-03-18
 */
@Data
@Builder
@Accessors(chain = true)
@TableName("tbl_merchant_info")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TblMerchantInfo对象", description = "")
public class TblMerchantInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("app_user_id")
    @ApiModelProperty("通通app用户id")
    private Long appUserId;

    @TableField("shop_id")
    @ApiModelProperty("商户id")
    private Long shopId;

    @ApiModelProperty("商家简称")
    @TableField("merchant_short_name")
    private String merchantShortName;

    @ApiModelProperty("公司名称")
    @TableField("company_name")
    private String companyName;

    @ApiModelProperty("统一机构代码")
    @TableField("unified_organization_code")
    private String unifiedOrganizationCode;

    @ApiModelProperty("联系人手机号")
    @TableField("contact_phone")
    private String contactPhone;

    @ApiModelProperty("联系人昵称")
    @TableField("contact_nickname")
    private String contactNickname;

    @ApiModelProperty("商家扩展信息")
    @TableField("extended_data")
    private String extendedData;

    @ApiModelProperty("申请入驻时间")
    @TableField("application_time")
    private Integer applicationTime;

    @ApiModelProperty("审核通过时间")
    @TableField("approval_time")
    private Integer approvalTime;

    @TableField("merchant_status")
    @ApiModelProperty("商家状态 0 审核中 1 审核通过")
    private Integer merchantStatus;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;
}
